<?php

class Core_Backend_Component_Article_View_Category_Sort extends Core_Backend_Share_View_Form {
	
	protected function initialize(){
		parent::initialize();
		$this->setTemplatePath('sort');
	}

    protected function buildToolbar($toolbar) {
    	$group = $toolbar->createGroup('back');
        $group->addLink($this->getHistoryUrl('article/category/index'), $this->__('share.button.back'));
    }

    public function buildForm($form) {
		$this->getTemplate()->assign('categories', $this->categories);
		parent::buildForm($form);
    }

}

